package com.cloudcc.mobile.presenter;

import com.cloudcc.cloudframe.bus.EventList.ServerUrlEvent;
import com.cloudcc.mobile.dao.UserEngine;
import com.cloudcc.mobile.dao.impl.UserEngineImpl;

/**
 * 欢迎页面
 * 
 * @author wangzhiqiang
 * @date 2015-7-24 上午11:01:30
 * 
 */
public class WelcomePresenter extends BasePresenter {

	private final UserEngine mService;

	public WelcomePresenter() {
		super();
		mService = new UserEngineImpl();
	}

	/**
	 * 根据userName获得 应用程序的服务器url
	 * 
	 * @param userName
	 */
	public void getAppUrl(String userName) {
		ServerUrlEvent event = new ServerUrlEvent();
		mService.getAppUrl_w(userName, event);
	}

}
